package com.ruoyi.exam.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;


/**
 * 题目选项对象 exam_question_option
 *
 * @author Tellsea
 * @date 2025-05-30
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("exam_question_option")
public class ExamQuestionOption extends BaseEntity {

    /**
     * 选项ID
     */
    @TableId
    private Long optionId;

    /**
     * 题目ID
     */
    @Excel(name = "题目ID")
    private Long questionId;

    /**
     * 选项标签（A、B、C、D等）
     */
    @Excel(name = "选项标签", readConverterExp = "A=、B、C、D等")
    private String optionLabel;

    /**
     * 选项内容
     */
    @Excel(name = "选项内容")
    private String optionContent;

    /**
     * 是否正确答案（0否 1是）
     */
    @Excel(name = "是否正确答案", readConverterExp = "0=否,1=是")
    private String isCorrect;

    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private Long sortOrder;

}
